package org.springblade.tms.global.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.common.enums.Enumerator;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.global.enums
 * @className: FenceEventType
 * @author: yr
 * @description: 电子围栏事件状态枚举
 * @date: 2022/5/6 15:11
 */
@AllArgsConstructor
@Getter
public enum FenceEventType implements Enumerator {
	ENTER_THE_ELECTRONIC_FENCE("1", "进入电子围栏"),
	DRIVE_OUT_OF_THE_ELECTRONIC_FENCE("2", "驶出电子围栏");

	private final String value;
	private final String description;

	@Override
	public String value() {
		return value;
	}

	@Override
	public String description() {
		return description;
	}
}
